package org.jetnuke.dao;

import java.util.List;

import org.jetnuke.entities.Pages;

public interface PagesDAO {
	public Pages retrieveByPK(int id) throws Exception ;
	public List selectAll()throws Exception;
	public void update(Pages pg)throws Exception;
	public int addNew(Pages page)throws Exception;
	public List selectAllActive(int cid) throws Exception;
	public List selectAllActive() throws Exception;

	public int countActiveByCID(int cid)throws Exception;
	
	public List selectOrderCounterDesc(int limit)throws Exception;
}
